<?php
// +----------------------------------------------------------------------
// | 杭州十禾信息科技有限公司
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2015 http://www.shelpe.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: LeePuman <ysyzlsm@163.com>
// +----------------------------------------------------------------------

/**
 +------------------------------------------------------------------------------
 * ThinkPHP 权限控制配置文件
 +------------------------------------------------------------------------------
 *
 *       
 +------------------------------------------------------------------------------
*/

return array(
    'AUTH_TYPE' => 'blacklist',
	'PUBLIC_RESOURCE' => array(
			'User' => array(
					'login', 'code','code2', 'testapi', 'fuck' , 'mem',
			),
			'Index' => array('test' , 'intro' , 'error' , 'notfound' , 'faq'),
			'Services' => array(
					'testredis', 'testapi', 'keywordsstats', 'keywordsrelated',
					'keywordsrcmm', 'keywordsfilter', 'catemaxprops', 'syncrpt'),
			'Keywords' => array(
					'updateglobalhotkeywords', 'initcatehotkeywords', 'updatecate',
					'updatecatehotkeywords', 'updatekeywordsproperties', 'importcatemaxprops',
					'updaterelatedkeywords', 'updatesearchrelated', 'updatecatemaxprops',  'update',
			),
			'Admin' => array('login'),
			'Rpt' => array('runcron'),
			'Autodrive' => array(
					'start', 'update',
			),
			'Sales' => array('index')
	),
	
	//直通车版本代码设置
	'ZTC_ROLES' => array(
			'FW_GOODS-1000041478-1' => array(
					'name' => '无线版',
					'level' => 1,
			)
	),
	
);
